$white: #fff !default;
$huawei-bg: #222222 !default;
$huawei-red: #e41f2b !default;
$dark: #000 !default;
$dark1: #293040 !default;
$dark2: #5e6678 !default;
$dark3: #959eb2 !default;
$focus1: #5170ff !default;
$focus2: #001bc0 !default;
$focus3: #e8f0fd !default;
$focus4: #859bff !default;
$gray1: #cacfd8 !default;
$gray2: #e3e5e9 !default;
$gray3: #f8f8f8 !default;
$hover-control: #405dff !default;
$hover-content: #f3f7fe !default;
$status-red: #f95f5b !default;
$status-yellow: #fecc55 !default;
$status-green: #3dcca6 !default;
$status-blue: #5170ff !default;
$dark-1-boxshadow: rgba(41, 48, 64, 0.2);
$dropdown-overlay: #ffffff;
$global-bg: #f3f6f8 !default;
$tag-label-bgcolor: rgba(254, 204, 85, 0.3);

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  outline: 0;
  overflow-y: auto;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0px auto;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  opacity: 0.2;
  background-color: $dark;
}

:host  .modal-content1 {
  position: relative;
  border-radius: 2px;
  border: none;
  background-color: $white;
  background-clip: padding-box;
  outline: 0;
  box-shadow: 5px 5px 20px 0 rgba($dark, 0.2);
  .modal-body {
    padding-top: 24px;
    padding-right: 24px;
    padding-bottom: 16px;
    padding-left: 24px;
  }

  .modal-footer {
    border-top: none;
    padding: 7px;
    text-align: center;
    button {
      margin: 5px;
      padding: 5px 20px;
      width: auto;
      &.pull-left {
        padding-left: 5px;
        padding-right: 5px;
        position: relative;
        left: -5px;
      }
    }
    button + button {
      margin-bottom: 16px;
    }
  }
}

:host  .d-btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 2px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
:focus {
  outline: none;
}
